<%@ page language="java" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>首页-导航</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="icon" href="images/favicon.ico" type="image/vnd.microsoft.icon">
	
	<link href="<%=basePath%>player/skin/blue.monday/jplayer.blue.monday.css" rel="stylesheet" type="text/css" />
	<link href="<%=basePath%>css/dialog/dialog.css" rel="stylesheet">
	<link href="<%=basePath%>css/smoothness/jquery-ui.css" rel="stylesheet">
	<style type="text/css">
		
		.demoHeaders {
			margin-top: 2em;
		}
		#dialog-link {
			padding: .4em 1em .4em 20px;
			text-decoration: none;
			position: relative;
		}
		#dialog-link span.ui-icon {
			margin: 0 5px 0 0;
			position: absolute;
			left: .2em;
			top: 50%;
			margin-top: -8px;
		}
		#icons {
			margin: 0;
			padding: 0;
		}
		#icons li {
			margin: 2px;
			position: relative;
			padding: 4px 0;
			cursor: pointer;
			float: left;
			list-style: none;
		}
		#icons span.ui-icon {
			float: left;
			margin: 0 4px;
		}
	</style>
    
    
    <script src="<%=basePath%>js/jquery-1.8.3.js" type="text/javascript"></script>
    <script src="<%=basePath%>js/dialog.js" type="text/javascript"></script>
	<script src="<%=basePath%>js/jquery-ui.min.js" type="text/javascript"></script>
	<script src="<%=basePath%>player/jquery.jplayer.min.js" type="text/javascript"></script>
	<script src="<%=basePath%>player/add-on/jplayer.playlist.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    	
    	function addTab(tabId){
    		
    		
    		location.href="home/getUrlById.wkm?itemId=" + tabId;
    		//$('#tabs').tabs('add', '#' + tabId,tabName);
    		//$('#tabs').tabs('select', '#' + tabId);
    		//requestData(tabId);
    	}
    </script>
    
  </head>
  
  <body>
  
	<c:forEach var="itemName" items="${itemNames}" varStatus="urlIndex">
			<c:forEach var="urls" items="${listUrls}" varStatus="urlIndex">
					<a href="${urls.target}" target="_blank" style="font-size: 14">${urls.itemName}</a>&nbsp;&nbsp;&nbsp;&nbsp;
			</c:forEach>
	</c:forEach>
		
  </body>
</html>
